﻿using System;
using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC01Controller
    /// </summary>
    public class VYC01Controller
    {
        private static VYC01BO vyc01Bo;
        public VYC01Controller()
        {
            //
            vyc01Bo = new VYC01BO();
        }

        public List<ModelVYC01> GetAllList()
        {
            return vyc01Bo.GetAllList();
        }

        public int AddData(ModelVYC01 model)
        {
            return vyc01Bo.AddData(model);
        }

        public int EditData(ModelVYC01 model)
        {
            return vyc01Bo.EditData(model);
        }

        public int DeleteData(ModelVYC01 model)
        {
            return vyc01Bo.DeleteData(model);
        }
        public List<ModelVYC01> GetById(string id)
        {
            return vyc01Bo.GetById(id);
        }
        public int RemovePanorama(ModelVYC01 model)
        {
            return vyc01Bo.RemovePanorama(model);
        }
        public List<ModelVYC01> GetListPanoramaLon(int hienthi, int trangthai)
        {
            return vyc01Bo.GetListPanoramaLon(hienthi, trangthai);
        }
        public List<ModelVYC01> GetListTourDocDao()
        {
            return vyc01Bo.GetListTourDocDao();
        }

        public List<ModelVYC01> GetByUniqueId(string uniqueId, int trangthai)
        {
            return vyc01Bo.GetByUniqueId(uniqueId, trangthai);
        }
        public List<ModelVYC01> GetByDiemden(int diemden, int trangthai)
        {
            return vyc01Bo.GetByDiemden(diemden, trangthai);
        }
        public List<ModelVYC01> GetByGia(decimal gia, int trangthai)
        {
            return vyc01Bo.GetByGia(gia, trangthai);
        }
        public List<ModelVYC01> GetByNgayDi(DateTime ngaydi, int trangthai)
        {
            return vyc01Bo.GetByNgayDi(ngaydi, trangthai);
        }
        public List<ModelVYC01> GetTheoLoaiTour(int idlt, int trangthai)
        {
            return vyc01Bo.GetTheoLoaiTour(idlt, trangthai);
        }
        public List<ModelVYC01> GetTheoSubLoaitour(int idsublt, int trangthai)
        {
            return vyc01Bo.GetTheoSubLoaitour(idsublt, trangthai);
        }
        public List<ModelVYC01> GetTheoLoaiTourvaSubloaitour(int idlt, int idsublt, int trangthai)
        {
            return vyc01Bo.GetTheoLoaiTourvaSubloaitour(idlt, idsublt, trangthai);
        }

        public List<ModelVYC01> GetTourDocDao(int trangthai)
        {
            return vyc01Bo.GetTourDocDao(trangthai);
        }
        public List<ModelVYC01> GetSubTourDocDao(int idsubtourdd, int trangthai)
        {
            return vyc01Bo.GetSubTourDocDao(idsubtourdd, trangthai);
        }
        public List<ModelVYC01> GetByTag(string key, int trangthai)
        {
            key = key.Replace("-", " ");
            return vyc01Bo.GetByTag(key, trangthai);
        }
    }
}